import wx


class AboutLotteryAnalysis(wx.AboutDialogInfo):
    """About Dialog for Lottery Analysis"""
    def __init__(self, parent):
        wx.AboutDialogInfo.__init__(self)
        self.parent = parent
        self.copyright = " 2012 Timothy Davis"
        self.description = "Analyze the Powerball lottery"
        self.developers = ["Timothy Davis"]
        self.docwriters = ["Timothy Davis"]
        self.license = ""
        self.name = "Lottery Analysis"
        self.translators = [""]
        self.version = "0.1"
        self.website = (
            "http://code.google.com/p/lottery-analysis/",
             "Lottery Analysis Website")
        self.SetProperties()

    def SetProperties(self):
        self.SetCopyright(self.copyright)
        self.SetDescription(self.description)
        self.SetDevelopers(self.developers)
        self.SetDocWriters(self.docwriters)
        self.SetLicense(self.license)
        self.SetName(self.name)
        self.SetVersion(self.version)
        self.SetWebSite(self.website)

    def show(self):
        wx.AboutBox(self)